<?php
	include('public.php');
	
	if(empty($_POST)==false){
		db_update('news');
	}
	$rs = db_find('news','id='.$_GET['id']);
	
	include('template/header.html');
	include('template/news_update.html');
	include('template/footer.html');